package cac.fenjian.resource.MsPart.dto;

import com.cac.dme.adapter.domain.BeanDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "MsPartBasicDTO",description = "零件大件信息表")
public class MsPartBasicDTO extends BeanDTO {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键",name = "msPartId")
    private String msPartId;
    /**
     * 机型
     */
    @ApiModelProperty(value = "机型",name = "productCode")
    private String productCode;
    /**
     * 零件图号
     */
    @ApiModelProperty(value = "零件图号",name = "partNo")
    private String partNo;
    /**
     * 零件名称
     */
    @ApiModelProperty(value = "零件名称",name = "partName")
    private String partName;
    /**
     * 长度
     */
    @ApiModelProperty(value = "长度",name = "length")
    private String length;
    /**
     * 宽度
     */
    @ApiModelProperty(value = "宽度",name = "width")
    private String width;
    /**
     * 高度
     */
    @ApiModelProperty(value = "高度",name = "height")
    private String height;
    /**
     * 重量
     */
    @ApiModelProperty(value = "重量",name = "bearWeight")
    private String bearWeight;

    public MsPartBasicDTO() {

    }

    public MsPartBasicDTO(String msPartId, String productCode, String partNo, String partName, String length, String width, String height, String bearWeight) {
        this.msPartId = msPartId;
        this.productCode = productCode;
        this.partNo = partNo;
        this.partName = partName;
        this.length = length;
        this.width = width;
        this.height = height;
        this.bearWeight = bearWeight;
    }

    public String getMsPartId() {
        return msPartId;
    }

    public void setMsPartId(String msPartId) {
        this.msPartId = msPartId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getPartNo() {
        return partNo;
    }

    public void setPartNo(String partNo) {
        this.partNo = partNo;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getBearWeight() {
        return bearWeight;
    }

    public void setBearWeight(String bearWeight) {
        this.bearWeight = bearWeight;
    }

    @Override
    public String toString() {
        return "MsPartBasicDTO{" +
                "msPartId='" + msPartId + '\'' +
                ", productCode='" + productCode + '\'' +
                ", partNo='" + partNo + '\'' +
                ", partName='" + partName + '\'' +
                ", length='" + length + '\'' +
                ", width='" + width + '\'' +
                ", height='" + height + '\'' +
                ", bearWeight='" + bearWeight + '\'' +
                '}';
    }
}
